Optimal. Leaf size=482 \[ \frac {\left (32 a^2-b^2\right ) \cot (c+d x) \csc ^2(c+d x) (a+b \sin (c+d x))^{5/2}}{80 a^2 d}+\frac {b \left (36 a^2-b^2\right ) \cot (c+d x) \csc (c+d x) (a+b \sin (c+d x))^{3/2}}{64 a^2 d}+\frac {3 b \cot (c+d x) \csc ^3(c+d x) (a+b \sin (c+d x))^{7/2}}{40 a^2 d}-\frac {\left (128 a^4-580 a^2 b^2+15 b^4\right ) \cot (c+d x) \sqrt {a+b \sin (c+d x)}}{640 a^2 d}+\frac {\left (128 a^4+492 a^2 b^2-5 b^4\right ) \sqrt {\frac {a+b \sin (c+d x)}{a+b}} F\left (\frac {1}{2} \left (c+d x-\frac {\pi }{2}\right )|\frac {2 b}{a+b}\right )}{640 a d \sqrt {a+b \sin (c+d x)}}-\frac {\left (128 a^4-2476 a^2 b^2-15 b^4\right ) \sqrt {a+b \sin (c+d x)} E\left (\frac {1}{2} \left (c+d x-\frac {\pi }{2}\right )|\frac {2 b}{a+b}\right )}{640 a^2 d \sqrt {\frac {a+b \sin (c+d x)}{a+b}}}+\frac {3 b \left (80 a^4-40 a^2 b^2+b^4\right ) \sqrt {\frac {a+b \sin (c+d x)}{a+b}} \Pi \left (2;\frac {1}{2} \left (c+d x-\frac {\pi }{2}\right )|\frac {2 b}{a+b}\right )}{128 a^2 d \sqrt {a+b \sin (c+d x)}}-\frac {\cot (c+d x) \csc ^4(c+d x) (a+b \sin (c+d x))^{7/2}}{5 a d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 1.62, antiderivative size = 482, normalized size of antiderivative = 1.00, number of steps used = 12, number of rules used = 10, integrand size = 31, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.323, Rules used = {2893, 3047, 3059, 2655, 2653, 3002, 2663, 2661, 2807, 2805} \[ -\frac {\left (-580 a^2 b^2+128 a^4+15 b^4\right ) \cot (c+d x) \sqrt {a+b \sin (c+d x)}}{640 a^2 d}+\frac {\left (492 a^2 b^2+128 a^4-5 b^4\right ) \sqrt {\frac {a+b \sin (c+d x)}{a+b}} F\left (\frac {1}{2} \left (c+d x-\frac {\pi }{2}\right )|\frac {2 b}{a+b}\right )}{640 a d \sqrt {a+b \sin (c+d x)}}-\frac {\left (-2476 a^2 b^2+128 a^4-15 b^4\right ) \sqrt {a+b \sin (c+d x)} E\left (\frac {1}{2} \left (c+d x-\frac {\pi }{2}\right )|\frac {2 b}{a+b}\right )}{640 a^2 d \sqrt {\frac {a+b \sin (c+d x)}{a+b}}}+\frac {3 b \left (-40 a^2 b^2+80 a^4+b^4\right ) \sqrt {\frac {a+b \sin (c+d x)}{a+b}} \Pi \left (2;\frac {1}{2} \left (c+d x-\frac {\pi }{2}\right )|\frac {2 b}{a+b}\right )}{128 a^2 d \sqrt {a+b \sin (c+d x)}}+\frac {\left (32 a^2-b^2\right ) \cot (c+d x) \csc ^2(c+d x) (a+b \sin (c+d x))^{5/2}}{80 a^2 d}+\frac {b \left (36 a^2-b^2\right ) \cot (c+d x) \csc (c+d x) (a+b \sin (c+d x))^{3/2}}{64 a^2 d}+\frac {3 b \cot (c+d x) \csc ^3(c+d x) (a+b \sin (c+d x))^{7/2}}{40 a^2 d}-\frac {\cot (c+d x) \csc ^4(c+d x) (a+b \sin (c+d x))^{7/2}}{5 a d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2653
Rule 2655
Rule 2661
Rule 2663
Rule 2805
Rule 2807
Rule 2893
Rule 3002
Rule 3047
Rule 3059
Rubi steps
\begin {align*} \int \cot ^4(c+d x) \csc ^2(c+d x) (a+b \sin (c+d x))^{5/2} \, dx &=\frac {3 b \cot (c+d x) \csc ^3(c+d x) (a+b \sin (c+d x))^{7/2}}{40 a^2 d}-\frac {\cot (c+d x) \csc ^4(c+d x) (a+b \sin (c+d x))^{7/2}}{5 a d}-\frac {\int \csc ^4(c+d x) (a+b \sin (c+d x))^{5/2} \left (\frac {3}{4} \left (32 a^2-b^2\right )+\frac {5}{2} a b \sin (c+d x)-\frac {1}{4} \left (80 a^2+3 b^2\right ) \sin ^2(c+d x)\right ) \, dx}{20 a^2}\\ &=\frac {\left (32 a^2-b^2\right ) \cot (c+d x) \csc ^2(c+d x) (a+b \sin (c+d x))^{5/2}}{80 a^2 d}+\frac {3 b \cot (c+d x) \csc ^3(c+d x) (a+b \sin (c+d x))^{7/2}}{40 a^2 d}-\frac {\cot (c+d x) \csc ^4(c+d x) (a+b \sin (c+d x))^{7/2}}{5 a d}-\frac {\int \csc ^3(c+d x) (a+b \sin (c+d x))^{3/2} \left (\frac {15}{8} b \left (36 a^2-b^2\right )-\frac {3}{4} a \left (16 a^2-5 b^2\right ) \sin (c+d x)-\frac {3}{8} b \left (192 a^2+5 b^2\right ) \sin ^2(c+d x)\right ) \, dx}{60 a^2}\\ &=\frac {b \left (36 a^2-b^2\right ) \cot (c+d x) \csc (c+d x) (a+b \sin (c+d x))^{3/2}}{64 a^2 d}+\frac {\left (32 a^2-b^2\right ) \cot (c+d x) \csc ^2(c+d x) (a+b \sin (c+d x))^{5/2}}{80 a^2 d}+\frac {3 b \cot (c+d x) \csc ^3(c+d x) (a+b \sin (c+d x))^{7/2}}{40 a^2 d}-\frac {\cot (c+d x) \csc ^4(c+d x) (a+b \sin (c+d x))^{7/2}}{5 a d}-\frac {\int \csc ^2(c+d x) \sqrt {a+b \sin (c+d x)} \left (-\frac {3}{16} \left (128 a^4-580 a^2 b^2+15 b^4\right )-\frac {3}{8} a b \left (268 a^2-5 b^2\right ) \sin (c+d x)-\frac {9}{16} b^2 \left (316 a^2+5 b^2\right ) \sin ^2(c+d x)\right ) \, dx}{120 a^2}\\ &=-\frac {\left (128 a^4-580 a^2 b^2+15 b^4\right ) \cot (c+d x) \sqrt {a+b \sin (c+d x)}}{640 a^2 d}+\frac {b \left (36 a^2-b^2\right ) \cot (c+d x) \csc (c+d x) (a+b \sin (c+d x))^{3/2}}{64 a^2 d}+\frac {\left (32 a^2-b^2\right ) \cot (c+d x) \csc ^2(c+d x) (a+b \sin (c+d x))^{5/2}}{80 a^2 d}+\frac {3 b \cot (c+d x) \csc ^3(c+d x) (a+b \sin (c+d x))^{7/2}}{40 a^2 d}-\frac {\cot (c+d x) \csc ^4(c+d x) (a+b \sin (c+d x))^{7/2}}{5 a d}-\frac {\int \frac {\csc (c+d x) \left (-\frac {45}{32} b \left (80 a^4-40 a^2 b^2+b^4\right )-\frac {3}{16} a b^2 \left (1484 a^2+5 b^2\right ) \sin (c+d x)+\frac {3}{32} b \left (128 a^4-2476 a^2 b^2-15 b^4\right ) \sin ^2(c+d x)\right )}{\sqrt {a+b \sin (c+d x)}} \, dx}{120 a^2}\\ &=-\frac {\left (128 a^4-580 a^2 b^2+15 b^4\right ) \cot (c+d x) \sqrt {a+b \sin (c+d x)}}{640 a^2 d}+\frac {b \left (36 a^2-b^2\right ) \cot (c+d x) \csc (c+d x) (a+b \sin (c+d x))^{3/2}}{64 a^2 d}+\frac {\left (32 a^2-b^2\right ) \cot (c+d x) \csc ^2(c+d x) (a+b \sin (c+d x))^{5/2}}{80 a^2 d}+\frac {3 b \cot (c+d x) \csc ^3(c+d x) (a+b \sin (c+d x))^{7/2}}{40 a^2 d}-\frac {\cot (c+d x) \csc ^4(c+d x) (a+b \sin (c+d x))^{7/2}}{5 a d}+\frac {\int \frac {\csc (c+d x) \left (\frac {45}{32} b^2 \left (80 a^4-40 a^2 b^2+b^4\right )+\frac {3}{32} a b \left (128 a^4+492 a^2 b^2-5 b^4\right ) \sin (c+d x)\right )}{\sqrt {a+b \sin (c+d x)}} \, dx}{120 a^2 b}-\frac {\left (128 a^4-2476 a^2 b^2-15 b^4\right ) \int \sqrt {a+b \sin (c+d x)} \, dx}{1280 a^2}\\ &=-\frac {\left (128 a^4-580 a^2 b^2+15 b^4\right ) \cot (c+d x) \sqrt {a+b \sin (c+d x)}}{640 a^2 d}+\frac {b \left (36 a^2-b^2\right ) \cot (c+d x) \csc (c+d x) (a+b \sin (c+d x))^{3/2}}{64 a^2 d}+\frac {\left (32 a^2-b^2\right ) \cot (c+d x) \csc ^2(c+d x) (a+b \sin (c+d x))^{5/2}}{80 a^2 d}+\frac {3 b \cot (c+d x) \csc ^3(c+d x) (a+b \sin (c+d x))^{7/2}}{40 a^2 d}-\frac {\cot (c+d x) \csc ^4(c+d x) (a+b \sin (c+d x))^{7/2}}{5 a d}+\frac {\left (128 a^4+492 a^2 b^2-5 b^4\right ) \int \frac {1}{\sqrt {a+b \sin (c+d x)}} \, dx}{1280 a}+\frac {\left (3 b \left (80 a^4-40 a^2 b^2+b^4\right )\right ) \int \frac {\csc (c+d x)}{\sqrt {a+b \sin (c+d x)}} \, dx}{256 a^2}-\frac {\left (\left (128 a^4-2476 a^2 b^2-15 b^4\right ) \sqrt {a+b \sin (c+d x)}\right ) \int \sqrt {\frac {a}{a+b}+\frac {b \sin (c+d x)}{a+b}} \, dx}{1280 a^2 \sqrt {\frac {a+b \sin (c+d x)}{a+b}}}\\ &=-\frac {\left (128 a^4-580 a^2 b^2+15 b^4\right ) \cot (c+d x) \sqrt {a+b \sin (c+d x)}}{640 a^2 d}+\frac {b \left (36 a^2-b^2\right ) \cot (c+d x) \csc (c+d x) (a+b \sin (c+d x))^{3/2}}{64 a^2 d}+\frac {\left (32 a^2-b^2\right ) \cot (c+d x) \csc ^2(c+d x) (a+b \sin (c+d x))^{5/2}}{80 a^2 d}+\frac {3 b \cot (c+d x) \csc ^3(c+d x) (a+b \sin (c+d x))^{7/2}}{40 a^2 d}-\frac {\cot (c+d x) \csc ^4(c+d x) (a+b \sin (c+d x))^{7/2}}{5 a d}-\frac {\left (128 a^4-2476 a^2 b^2-15 b^4\right ) E\left (\frac {1}{2} \left (c-\frac {\pi }{2}+d x\right )|\frac {2 b}{a+b}\right ) \sqrt {a+b \sin (c+d x)}}{640 a^2 d \sqrt {\frac {a+b \sin (c+d x)}{a+b}}}+\frac {\left (\left (128 a^4+492 a^2 b^2-5 b^4\right ) \sqrt {\frac {a+b \sin (c+d x)}{a+b}}\right ) \int \frac {1}{\sqrt {\frac {a}{a+b}+\frac {b \sin (c+d x)}{a+b}}} \, dx}{1280 a \sqrt {a+b \sin (c+d x)}}+\frac {\left (3 b \left (80 a^4-40 a^2 b^2+b^4\right ) \sqrt {\frac {a+b \sin (c+d x)}{a+b}}\right ) \int \frac {\csc (c+d x)}{\sqrt {\frac {a}{a+b}+\frac {b \sin (c+d x)}{a+b}}} \, dx}{256 a^2 \sqrt {a+b \sin (c+d x)}}\\ &=-\frac {\left (128 a^4-580 a^2 b^2+15 b^4\right ) \cot (c+d x) \sqrt {a+b \sin (c+d x)}}{640 a^2 d}+\frac {b \left (36 a^2-b^2\right ) \cot (c+d x) \csc (c+d x) (a+b \sin (c+d x))^{3/2}}{64 a^2 d}+\frac {\left (32 a^2-b^2\right ) \cot (c+d x) \csc ^2(c+d x) (a+b \sin (c+d x))^{5/2}}{80 a^2 d}+\frac {3 b \cot (c+d x) \csc ^3(c+d x) (a+b \sin (c+d x))^{7/2}}{40 a^2 d}-\frac {\cot (c+d x) \csc ^4(c+d x) (a+b \sin (c+d x))^{7/2}}{5 a d}-\frac {\left (128 a^4-2476 a^2 b^2-15 b^4\right ) E\left (\frac {1}{2} \left (c-\frac {\pi }{2}+d x\right )|\frac {2 b}{a+b}\right ) \sqrt {a+b \sin (c+d x)}}{640 a^2 d \sqrt {\frac {a+b \sin (c+d x)}{a+b}}}+\frac {\left (128 a^4+492 a^2 b^2-5 b^4\right ) F\left (\frac {1}{2} \left (c-\frac {\pi }{2}+d x\right )|\frac {2 b}{a+b}\right ) \sqrt {\frac {a+b \sin (c+d x)}{a+b}}}{640 a d \sqrt {a+b \sin (c+d x)}}+\frac {3 b \left (80 a^4-40 a^2 b^2+b^4\right ) \Pi \left (2;\frac {1}{2} \left (c-\frac {\pi }{2}+d x\right )|\frac {2 b}{a+b}\right ) \sqrt {\frac {a+b \sin (c+d x)}{a+b}}}{128 a^2 d \sqrt {a+b \sin (c+d x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 6.84, size = 700, normalized size = 1.45 \[ \frac {\sqrt {a+b \sin (c+d x)} \left (\frac {\csc ^2(c+d x) \left (436 a^2 b \cos (c+d x)-5 b^3 \cos (c+d x)\right )}{320 a}+\frac {1}{80} \csc ^3(c+d x) \left (32 a^2 \cos (c+d x)-31 b^2 \cos (c+d x)\right )-\frac {1}{5} a^2 \cot (c+d x) \csc ^4(c+d x)+\frac {\csc (c+d x) \left (-128 a^4 \cos (c+d x)+1196 a^2 b^2 \cos (c+d x)+15 b^4 \cos (c+d x)\right )}{640 a^2}-\frac {21}{40} a b \cot (c+d x) \csc ^3(c+d x)\right )}{d}+\frac {b \left (-\frac {2 \left (5936 a^3 b+20 a b^3\right ) \sqrt {\frac {a+b \sin (c+d x)}{a+b}} F\left (\frac {1}{2} \left (-c-d x+\frac {\pi }{2}\right )|\frac {2 b}{a+b}\right )}{\sqrt {a+b \sin (c+d x)}}-\frac {2 \left (2272 a^4+1276 a^2 b^2+45 b^4\right ) \sqrt {\frac {a+b \sin (c+d x)}{a+b}} \Pi \left (2;\frac {1}{2} \left (-c-d x+\frac {\pi }{2}\right )|\frac {2 b}{a+b}\right )}{\sqrt {a+b \sin (c+d x)}}-\frac {2 i \left (128 a^4-2476 a^2 b^2-15 b^4\right ) \cos (c+d x) \cos (2 (c+d x)) \sqrt {\frac {b-b \sin (c+d x)}{a+b}} \sqrt {-\frac {b \sin (c+d x)+b}{a-b}} \left (2 a (a-b) E\left (i \sinh ^{-1}\left (\sqrt {-\frac {1}{a+b}} \sqrt {a+b \sin (c+d x)}\right )|\frac {a+b}{a-b}\right )+b \left (2 a F\left (i \sinh ^{-1}\left (\sqrt {-\frac {1}{a+b}} \sqrt {a+b \sin (c+d x)}\right )|\frac {a+b}{a-b}\right )-b \Pi \left (\frac {a+b}{a};i \sinh ^{-1}\left (\sqrt {-\frac {1}{a+b}} \sqrt {a+b \sin (c+d x)}\right )|\frac {a+b}{a-b}\right )\right )\right )}{a \sqrt {-\frac {1}{a+b}} \sqrt {1-\sin ^2(c+d x)} \left (-2 a^2+4 a (a+b \sin (c+d x))-2 (a+b \sin (c+d x))^2+b^2\right ) \sqrt {-\frac {a^2-2 a (a+b \sin (c+d x))+(a+b \sin (c+d x))^2-b^2}{b^2}}}\right )}{2560 a^2 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 2.42, size = 2075, normalized size = 4.30 \[ \text {result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F(-1)] time = 0.00, size = -1, normalized size = -0.00 \[ \text {Hanged} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________